package com.platform.modules.wallet.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 红包状态
 */
@Getter
public enum RedPacketStatusEnum {
    /**
     * 初始
     */
    INIT("0", "初始"),
    /**
     * 完成出
     */
    SUCCESS("1", "完成出款"),
    ;

    @EnumValue
    @JsonValue
    private String code;
    private String info;

    RedPacketStatusEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }
}
